package com.ruoyi.grade.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.grade.domain.entity.StudentTotalGrade;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentTotalGradeMapper extends BaseMapper<StudentTotalGrade> {
    /**
     * 根据学年和学期查询学生总成绩列表
     *
     * @param userName 用户名
     * @param academicYear 学年
     * @param semester 学期
     * @return 学生总成绩列表
     */
    public List<StudentTotalGrade> selectByAcademicYearAndSemester(
            @Param("userName") String userName,
            @Param("academicYear") String academicYear,
            @Param("semester") String semester);
}
